using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.WebApiRead.DTO
{
    /// <summary>
    /// 仓库信息查询结果DTO（用于查询返回）
    /// </summary>
    public class WarehouseInfoResultDTO
    {
        /// <summary>
        /// 仓库ID
        /// </summary>
        public int WarehouseID { get; set; }

        /// <summary>
        /// 仓库编码
        /// </summary>
        public long WarehouseCode { get; set; }

        /// <summary>
        /// 仓库名称
        /// </summary>
        public string WarehouseName { get; set; }

        /// <summary>
        /// 仓库容量/m³
        /// </summary>
        public string Warehousecapacity { get; set; }

        /// <summary>
        /// 仓库主管ID
        /// </summary>
        public int SupervisorId { get; set; }

        /// <summary>
        /// 仓库主管名称（联表查询得到）
        /// </summary>
        public string SupervisorName { get; set; }

        /// <summary>
        /// 库管部门ID
        /// </summary>
        public int WarehouseDeptId { get; set; }

        /// <summary>
        /// 库管部门名称（联表查询得到）
        /// </summary>
        public string WarehouseDeptName { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string WarehousePhone { get; set; }

        /// <summary>
        /// 仓库地址
        /// </summary>
        public string WarehouseAddress { get; set; }

        /// <summary>
        /// 仓库状态（1.启用 2.停用）
        /// </summary>
        public int WarehouseState { get; set; }

        /// <summary>
        /// 仓库锁定（true:锁定 false:解锁）
        /// </summary>
        public bool WarehouseLockdown { get; set; }

        /// <summary>
        /// 仓库描述/备注
        /// </summary>
        public string WarehouseContent { get; set; }

        /// <summary>
        /// 是否已删除（逻辑删除标记）
        /// </summary>
        public bool IsDeleted { get; set; }

        /// <summary>
        /// 数据状态（1:草稿 2:已提交 3:审核中 4:已审核）
        /// </summary>
        public int DataStatus { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 删除人
        /// </summary>
        public string? DeleteName { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeleteTime { get; set; }
    }
}

